.phony:all
all:calserver calclient
calclient:ClientMain.cpp
	g++ -o $@ $^ -std=c++14 -ljsoncpp
calserver:ServerMain.cpp 
	g++ -o $@ $^ -std=c++14 -l pthread -ljsoncpp
.phony:clean
clean:
	rm -rf calserver calclient